#!/bin/bash
#v1.0	将拍照和转换图片为xml整合(费博的代码)
echo "taking picture..."
./jpegtest

if [ $? -ne 0 ]; then
	echo "Error: jpegtest executed err!"
	exit 1
fi

echo "execute save_jpg_to_xml..."
./save_jpg_to_xml

if [ $? -ne 0 ]; then
	echo "Error: save_jpg_to_xml executed err!"
	exit 1
fi

echo "Shell Execute Over!"
